package com.fdb.efp.flow.service.dao;

import java.util.List;

import com.fdb.efp.flow.service.vo.BizFlowTaskParamVO;
import org.apache.ibatis.annotations.Param;

import com.fdb.efp.flow.service.domain.BizFlowTaskParam;

/**
 * <p>DAO interface:业务任务参数				<p>
 * @author fuzm
 * @date 2018-05-12
 */
public interface BizFlowTaskParamDao {
	
	public int insertBizFlowTaskParam(BizFlowTaskParam bizFlowTaskParam);
	
	public int deleteByPk(BizFlowTaskParam bizFlowTaskParam);
	
	public int deleteByTaskId(String taskId);
	
	public int updateByPk(BizFlowTaskParam bizFlowTaskParam);
	
	public BizFlowTaskParam queryByPk(BizFlowTaskParam bizFlowTaskParam);
	
	public List<BizFlowTaskParam> queryAllOwnerByPage(BizFlowTaskParamVO bizFlowTaskParam);
	
	public List<BizFlowTaskParam> queryAllCurrOrgByPage(BizFlowTaskParamVO bizFlowTaskParam);
	
	public List<BizFlowTaskParam> queryAllCurrDownOrgByPage(BizFlowTaskParamVO bizFlowTaskParam);

	public List<BizFlowTaskParam> queryTaskParamsByTaskId(String taskId);
	
	/**
	 * 根据任务ID查询任务参数
	 * @param taskIds
	 * @return
	 */
	public List<BizFlowTaskParam> queryTaskParamsByTaskIds(@Param("taskIds") List<String> taskIds);
	
	/**
	 * 批量插入
	 * @param list
	 * @return
	 */
	public int batchInsertBizFlowTaskParam(@Param("list") List<BizFlowTaskParam> list);
	
}
